public class Books extends Goods{
    private String author;
    private  String number;

    @Override
    public String toString() {
        return "Books{" +
                "author='" + author + '\'' +
                ", number='" + number + '\'' +
                '}';
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getAuthor() {
        return author;
    }

    public String getNumber() {
        return number;
    }
}
